package com.qf.day03.method;

public class TriPrint {
    public static void triangle(){
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j <i+1 ; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
